/* Reset default margin and padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Style the form elements */
label {
    margin-bottom: 8px;
}

input,
button {
    margin-bottom: 10px;
    padding: 8px;
    font-size: 14px;
}

button {
    background-color: #4CAF50; /* Green */
    color: white;
    border: none;
    cursor: pointer;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
}

button:hover {
    background-color: #45a049;
}

/* Center the form vertically and horizontally */
.form-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* 100% viewport height */
    background-image: url("/admin/images/login-bg.jpg");
    background-size: cover; /* Cover the entire container */
    background-position: center; /* Center the background image */
}

/* Style the form container */
form {
    max-width: 800px; /* Adjust form width as needed */
    padding: 20px;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 8px;
}

/* Background image for the app */
#app {
    background-image: url('/admin/images/loginbg.jpg'); /* Replace 'loginbg.jpg' with your background image path */
    background-size: cover; /* Cover the entire container */
    background-position: center; /* Center the background image */
    height: 100vh; /* Set the height of #app to full viewport height */
    display: flex; /* Use flex layout to center content vertically */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
}
div{
    background-image: url("/admin/images/loginbg.jpg");
    background-size: cover; /* 让背景图填充整个 div */
    background-position: center; /* 将背景图居中 */
    height: 300px; /* 设置 div 的高度 */
}